﻿@model KnowledgeCommunity.Web.Models.LogOnModel

@{
    ViewBag.Title = "Log On";
}

<div class="path one columns"> 
     登陆 
     <h6>请输入用户名密码.如果你还未 @Html.ActionLink("注册","Register") 我们的账户.</h6>
</div>

<div class="slider"></div>
    
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

@Html.ValidationSummary(true, "Login was unsuccessful. Please correct the errors and try again.")

@using (Html.BeginForm())
{
<div class="columns three-fourths">
    <div class="contactform">
    <p>用户名</p>
        @Html.TextBoxFor(m => m.UserName)
        @Html.ValidationMessageFor(m => m.UserName)
    <br/>
    <p>密 码</p>
        @Html.PasswordFor(m => m.Password)
        @Html.ValidationMessageFor(m => m.Password)
    <br/>
    <p>记住密码</p>
    @Html.CheckBoxFor(m => m.RememberMe)
    <br/>
    <input class="button" id="Login" name="Login" type="submit" value="登陆" />
    <input class="button2" name="Reset" type="reset" value="Reset" />
    <div id="contactResult"></div>
    </div>
</div>
}
<div class="columns four_last">
    <div class="sidebar">
    <div class="title">会员特权</div>
    <p><b>@Html.ActionLink("注册", "Register")</b>会员将拥有更多的知识享用<b><a href="@Url.Action("UserGuide", "Topic")">特权</a></b>哦！</p>
    <p>点击 <b>@Html.ActionLink("注册", "Register") </b>吧. 开始享受<b><a href="@Url.Action("UserGuide", "Topic")">特权</a></b>游戏</p>
    </div>
</div>
<div class="clear"></div>